#!/bin/sh
# Run this script from the main hpcg directory:
# hpcg> tools/updateTarfile [version_number]
make VERSION=$1 dist
scp hpcg-$1.tar.gz mheroux@unix.csbsju.edu:

echo #### Log into software.sandia.gov and execute the following commands
echo cd /var/www/html/hpcg/downloads
echo scp mheroux@unix.csbsju.edu:hpcg-$1.tar.gz .
echo chmod a+r hpcg-$1.tar.gz
